package com.ruoyi.ring.mapper;

import java.util.List;
import com.ruoyi.ring.domain.RingInteractiveThumbs;
import org.apache.ibatis.annotations.Param;

/**
 * 互动点赞Mapper接口
 * 
 * @author liuwp
 * @date 2025-11-21
 */
public interface RingInteractiveThumbsMapper 
{
    /**
     * 查询互动点赞
     * 
     * @param id 互动点赞主键
     * @return 互动点赞
     */
    public RingInteractiveThumbs selectRingInteractiveThumbsById(Long id);

    /**
     * 查询互动点赞列表
     * 
     * @param ringInteractiveThumbs 互动点赞
     * @return 互动点赞集合
     */
    public List<RingInteractiveThumbs> selectRingInteractiveThumbsList(RingInteractiveThumbs ringInteractiveThumbs);

    /**
     * 可以业务主键查询一条互动点赞
     *
     * @param ringInteractiveThumbs 互动点赞
     * @return 互动点赞集合
     */
    public RingInteractiveThumbs selectOneRingInteractiveThumbs(RingInteractiveThumbs ringInteractiveThumbs);

    /**
     * 新增互动点赞
     * 
     * @param ringInteractiveThumbs 互动点赞
     * @return 结果
     */
    public int insertRingInteractiveThumbs(RingInteractiveThumbs ringInteractiveThumbs);

    /**
     * 修改互动点赞
     * 
     * @param ringInteractiveThumbs 互动点赞
     * @return 结果
     */
    public int updateRingInteractiveThumbs(RingInteractiveThumbs ringInteractiveThumbs);

    /**
     * 条件修改互动点赞
     *
     * @param ringInteractiveThumbs 互动点赞
     * @param ringInteractiveThumbs 互动点赞条件
     * @return 结果
     */
    public int updateRingInteractiveThumbsCondition(@Param("ringInteractiveThumbs") RingInteractiveThumbs ringInteractiveThumbs, @Param("ringInteractiveThumbsCondition") RingInteractiveThumbs ringInteractiveThumbsCondition);

    /**
     * 删除互动点赞
     * 
     * @param id 互动点赞主键
     * @return 结果
     */
    public int deleteRingInteractiveThumbsById(Long id);

    /**
     * 条件删除互动点赞
     *
     * @param ringInteractiveThumbs 互动点赞
     * @return 结果
     */
    public int deleteRingInteractiveThumbsByCondition(RingInteractiveThumbs ringInteractiveThumbs);

    /**
     * 批量删除互动点赞
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRingInteractiveThumbsByIds(Long[] ids);
}
